< previous page page_250 next page >

Page 250
Table 7.1. continued
PropertySetting
Value14
Fields to ShowBookSales.Title
BookSales.Units
Order byBookSales.Units, Desc

After you have entered all the values, click Save and enter qryTest at the dialog prompt. You have just saved the query for future use. Now try running it. Click Run to get Visdata to execute the query. Click No when Visdata asks you if this is an SQL Passthrough query. Visdata then executes the query and displays the results on your screen, as shown in Figure 7.34.
0250-01.jpg
Figure 7.34.
Results of the executed query.
Data Form Designer . . .
The Data Form Designer builds a data entry form complete with a data control and command buttons for data administration. The form is saved to the currently active Visual Basic project. To demonstrate, let's build a sample form with the Data Form Designer.
First, make sure you have the BOOKS5.MDB (TYSDBVB5\SOURCE\DATA) database open in Visdata. Next, select Data Form Designer . . . from the Utility Menu. You should see the Data Form Designer dialog (see Figure 7.35).

 
< previous page page_250 next page >

If you like this book, buy it!